package com.jiyun.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jiyun.mapper.ConfigurationMapper;
import com.jiyun.pojo.Configuration;
import com.jiyun.service.ConfigurationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author: 刘清芳
 * @description: 积分配置
 * @date: 2024/1/4 19:14
 */
@Service
public class ConfigurationServiceImpl extends ServiceImpl<ConfigurationMapper,Configuration>implements ConfigurationService {
    @Autowired
    ConfigurationMapper configurationMapper;
    @Override
    public List<Configuration> findAll() {
        LambdaQueryWrapper<Configuration> wrapper = new LambdaQueryWrapper<>();
        return configurationMapper.selectList(wrapper);
    }
}
